package org.jeecg.modules.dock.enums;

import lombok.AccessLevel;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * mes状态枚举
 *
 * @author zhoutong
 */
@Getter
@RequiredArgsConstructor(access = AccessLevel.PRIVATE)
public enum MesStatusEnum implements BaseEnum {

    TASK_RECEIVED("TASK_RECEIVED","已接受"),

    TASK_STARTED("TASK_STARTED","任务开始"),

    TAKE_PALLET_DONE("TAKE_PALLET_DONE","取料架完成"),

    SEND_PALLET_DONE("SEND_PALLET_DONE","料架配送完成"),

    SEND_MATERIAL_READY("SEND_MATERIAL_READY","可配送"),

    TAKE_MATERIAL_STARTED("TAKE_MATERIAL_STARTED","取料任务开始"),

    TAKE_MATERIAL_FINISHED("TAKE_MATERIAL_FINISHED","取料完成"),

    SEND_MATERIAL_FINISHED("SEND_MATERIAL_FINISHED","物料配送完成"),

    FORCE_FINISHED("FORCE_FINISHED","强制完成"),

    PAUSE_TASK("PAUSE_TASK","暂停配送"),

    CANCEL_TASK("CANCEL_TASK","取消配送"),

    RETURN_PALLET_READY("RETURN_PALLET_READY","可退空料架"),

    TAKE_PALLET_STARTED("TAKE_PALLET_STARTED","取料架任务开始"),

    TAKE_PALLET_FINISHED("TAKE_PALLET_FINISHED","取料架完成"),

    RETURN_PALLET_FINISHED("RETURN_PALLET_FINISHED","退料架完成"),

    TAKE_PLANK_DONE("TAKE_PLANK_DONE","取料板完成"),

    RETURN_PLANK_FINISHED("RETURN_PLANK_FINISHED","料板退库完成"),


    ;

    private final String code;
    private final String remark;

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public String getEnumName() {
        return "MES任务状态自定义枚举";
    }

}
